//
//  GetMusic_category_list.m
//  ainkjj
//
//  Created by MAX on 2020/5/13.
//  Copyright © 2020 zhiyiLiu. All rights reserved.
//

#import "GetMusic_category_list.h"

@implementation GetMusic_category_list

 {
    NSString *_page;
    NSString *_page_size;
     
}
- (id)init_page:(NSString *)page page_size:(NSString *)page_size category_id:(NSString *)category_id{
    
    self = [super init];
    if (self) {
        _page = page;
        _page_size = page_size;
        _category_id = category_id;
    }
    return self;
}
 
 - (NSString *)requestUrl {

    return @"api/app/getMusic";
    
}
 
- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}
- (NSInteger)cacheTimeInSeconds {
    return 60 ;
}
- (id)requestArgument {
    return @{
        @"page_size": _page_size,
        @"page": _page,
        @"category_id" : _category_id
    };
}
@end
